<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><!DOCTYPE html>
<html lang="en" class="wide wow-animation smoothscroll scrollTo">
  <head>
    <?php include template("layouts","header"); ?>
  </head>
  <body>
    <!-- Page-->
    <div class="page text-center">
      <!-- Page Header-->
      <header class="page-head">
        <?php include template("layouts","navbar"); ?>
      </header>

      <!-- Modern Breadcrumbs-->
      <section class="breadcrumb-modern context-dark text-md-left">
        <div class="shell section-34 section-md-top-110 section-md-bottom-41">
          <h1><?php echo $CATEGORYS[$catid]['catname'];?></h1>
          <ul class="list-inline list-inline-arrows p offset-top-34 offset-md-top-70">
            <li><a href="<?php echo siteurl($siteid);?>">首页</a></li>
            <li><a href="<?php echo $CATEGORYS[$catid]['url'];?>"><?php echo $CATEGORYS[$catid]['catname'];?></a></li>
          </ul>
        </div>
      </section>

      <!-- Page Content-->
      <main class="page-content">
        <!-- team member section-->
        <section class="section-98 section-sm-top-34 section-sm-bottom-110">
          <div class="shell">
            <div class="range range-xs-center">
              <div class="cell-xs-10 cell-md-4">
                <?php include template("layouts","aside"); ?>
              </div>
              <div class="cell-xs-10 cell-md-8 text-md-left offset-top-60 offset-md-top-0">
                <div class="text-left">
                  <h3><?php echo $title;?></h3>
                  <hr class="divider divider-lg hr-sm-left-2 bg-primary">
                  <div class="">
                    <?php echo $content;?>
                  </div>
                </div>
                <div class="offset-top-66">
                  <h6 class="text-left">图片列表</h6>
                  <hr class="text-subline">
                  <div class="offset-top-30">
                    <div class="range range-xs-center range-sm-left offset-top-24">
                      <?php if(($pictureurls)) { ?>
                        <?php $n=1;if(is_array($pictureurls)) foreach($pictureurls AS $pic) { ?>
                        <div class="cell-xs-8 cell-sm-4 offset-top-20">
                          <a class="thumbnail-classic" data-photo-swipe-item="" data-size="700x970" href="<?php echo $pic['url'];?>">
                            <figure><img width="100" height="138" src="<?php echo $pic['url'];?>" alt=""/></figure>
                          </a>
                        </div>
                        <?php $n++;}unset($n); ?>
                      <?php } else { ?>
                        暂无信息...
                      <?php } ?>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </section>
      </main>
      <?php include template("layouts","footer"); ?>
    </div>
    <?php include template("layouts","global"); ?>
    <?php include template("layouts","javascript"); ?>
  </body>
</html>
